package product


// Iterator 迭代器接口
type Iterator interface {
	HasNext() bool
	Next() interface{}
	Reset()
}

// Aggregate 聚合接口
type Aggregate interface {
	CreateIterator() Iterator
}